Repository navigation
fix(pages): publicar solo una allowlist en lugar de la raíz del repo - #14
Merged
Merged
Conversation
pages.yml subía path: . y dejaba públicos DECISIONS.md, README.md, scripts/ y las imágenes originals/. Ahora scripts/build-site.sh copia a _site/ solo los ficheros del sitio y se sube esa carpeta.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué
scripts/build-site.shgenera_site/con solo los ficheros públicos:index.html,about/,404.html,robots.txt,sitemap.xml,site.webmanifestyassets/sinoriginals/. Las rutas que aún no existen se saltan.pages.ymlejecuta el script y subepath: _siteen lugar depath: .._site/en.gitignore;AGENTS.mdyDECISIONS.mddocumentan la regla.Por qué
Hoy responden 200
/DECISIONS.md,/README.md,/scripts/refresh-substack-feed.mjsy/assets/images/originals/profile.jpg: las notas internas del repo eran públicas.Verificación (local)
sh scripts/build-site.sh→_site/con 25 ficheros, sinDECISIONS.md,README.md,scripts/nioriginals/./,/assets/data/substack-feed.jsony/assets/css/style.css→ 200;/DECISIONS.md→ 404.index.htmlexisten en_site/.Tras el merge: comprobar que esos ficheros internos dan 404 en producción.